package com.zsrt.java.day20170103.wrl.demo01;

import org.junit.Test;

public class CarTest {
	
	/**
	 * 抽象类不能 “直接” new，一般new 它的子类或者匿名内部类
	 * @throws Exception
	 */
	@Test
	public void testName() throws Exception {
		Car car = new Car(){
			
		};
		car.print();
	}

}
